package com.bidepan.特殊类型注入;

public class Teacher {
    private String Tid;
    private String Tname;

    public String getTid() {
        return Tid;
    }

    public void setTid(String tid) {
        Tid = tid;
    }

    public String getTname() {
        return Tname;
    }

    public void setTname(String tname) {
        Tname = tname;
    }

    @Override
    public String toString() {
        return
                "教师工号：'" + Tid + '\'' +
                ", 教师姓名：'" + Tname +'\'';
    }
}
